This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
RE: offline iNotes Web Access: Outlook error!? ~Joseph Ekfanasongon 19.Oct.03 12:11 PM a Web browser Domino Server 6.0.2 CF1Windows 2000
Hallo,
We had the same issue.I use following code te remove the profile document "dolsofflineconfiguration" in the mail file. Afterwards an new "dolsofflineconfiguration" document will be created automatically with the default settings when going offline.
Kind Regards,
import lotus.domino.*;
public class SetFieldProfileDoc extends AgentBase {
public void NotesMain() {
try {
Session session = getSession();
AgentContext agentContext = session.getAgentContext();
Database db = agentContext.getCurrentDatabase();
Document doc = db.getProfileDocument("dolsofflineconfiguration", "");
if (doc =! null) {
if ( doc.remove(true) ) System.out.println("OK");
} else System.out.println("document not found!");
} catch(Exception e) {
e.printStackTrace();
}
}
}